/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React, {Component} from 'react';
import {Platform, StyleSheet, View} from 'react-native';
import { Container, Header, Content, Footer, FooterTab, Button, Icon, Text, Badge,Fab } from 'native-base';
import Main from './components/navbar/login_main';
// import Main from './components/map/index';
// import Main from './components/setting/index';
const Dimensions = require("Dimensions");
const { width } = Dimensions.get("window");
export default class App extends Component {
  constructor(props) {
    super(props)
    this.state = {
      active: 'true'
    };
  }
  render() {
    return (
      <View style={styles.container}>
        <Main></Main>
      </View>
      
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    // justifyContent: 'center',
    // alignItems: 'center',
    backgroundColor: '#fff',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});
